﻿
using System.Windows.Media;

namespace WpfAGVSystem.Common
{
    /// <summary>
    /// 颜色类
    /// </summary>
    public class ColorProcess
    {
        public static Brush PathTotal = Brushes.Black;
        public static Brush PathQueued = Brushes.Yellow;
        public static Brush PathPassed = Brushes.Green;

        /// <summary>
        /// AGV连接上的颜色
        /// </summary>
        public static SolidColorBrush brConnected = new SolidColorBrush(Colors.Orange);
        /// <summary>
        /// AGV没有连接上的颜色
        /// </summary>
        public static SolidColorBrush brDisconnected = new SolidColorBrush(Colors.Gray);
        /// <summary>
        /// AGV低电量的颜色
        /// </summary>
        public static SolidColorBrush brLowBattery = new SolidColorBrush(Colors.Yellow);

        public static SolidColorBrush brFailed = new SolidColorBrush(Colors.YellowGreen);
        /// <summary>
        /// AGV报警的颜色
        /// </summary>
        public static SolidColorBrush brAGVAlarm = new SolidColorBrush(Colors.Red);
        /// <summary>
        /// 调度系统警告的颜色
        /// </summary>
        public static SolidColorBrush brDispatchAlarm = new SolidColorBrush(Colors.DarkRed);

        public static Brush UnOccupyed = Brushes.Green;
        public static Brush Occupyed = Brushes.Yellow;
        public static Brush UnAbnormal = Brushes.Green;
        public static Brush Abnormal = Brushes.Red;
        /// <summary>
        /// 地图加载使用的颜色
        /// </summary>
        public static SolidColorBrush CPStation = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FDDDDA"));
        public static SolidColorBrush APStation = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#E8FDDA"));
        public static SolidColorBrush LMStation = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FFFFE3"));
        public static SolidColorBrush Route = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#56B3E4"));
        public static SolidColorBrush LaserSpot = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#1E1E1E"));
    }
}
